<?php
class Model_MembershipDetail extends Database
{	
	function Model_MembershipDetail()
	{
		$this->tableName = USERMEMBERSHIPDETAIL;
		$this->Database();
	}
	
	function addRecord( $array )
	{
		$this->InsertData( $this->tableName,$array);		
		$insertId = mysql_insert_id();
		return $insertId;
	}	
	
}
?>